package com.orm.analysis.action;

import com.opensymphony.xwork2.ActionSupport;
import com.orm.analysis.model.Address;
import com.orm.analysis.model.PerfAnalysis;
import com.orm.analysis.service.GenericService;
import org.apache.struts2.StrutsStatics;

public class FrontendAction  extends ActionSupport implements StrutsStatics {


    protected  GenericService<PerfAnalysis> perfAnalysisGenericService;

    public FrontendAction() {
    }

    public FrontendAction(GenericService<PerfAnalysis> service) {
        this.perfAnalysisGenericService = service;
    }

    protected PerfAnalysis perfAnalysis;



    protected int size = 10;
    protected int page = 1;


    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public PerfAnalysis getPerfAnalysis() {
        return perfAnalysis;
    }

    public void setPerfAnalysis(PerfAnalysis perfAnalysis) {
        this.perfAnalysis = perfAnalysis;
    }

    public GenericService<PerfAnalysis> getPerfAnalysisGenericService() {
        return perfAnalysisGenericService;
    }

    public void setPerfAnalysisGenericService(GenericService<PerfAnalysis> perfAnalysisGenericService) {
        this.perfAnalysisGenericService = perfAnalysisGenericService;
    }
}
